	
    //高位回落至设定百分比抛出
	let  sellByDownPersent  = function(selYear,i,condect,buySell,dates){
		let item = this.vo(selYear[i]);
		let downPersent = parseFloat(this.downPersent);
		let isDownPersent = item.close<condect.buyPrice*downPersent;//高位回落
		let date = buySell.length>0?buySell[buySell.length-1].xAxis:'';
		let buyMoney =buySell.length>0?buySell[buySell.length-1].yAxis:'';
		
		let ep = (item.close/buyMoney)-1;
		let isInMid =ep>this.minPersent && ep<this.maxPersent;
		
		let isMidPersent = item.close<condect.buyPrice*this.middlePersent;//中位回落

		//高位下跌至%比卖出
		if (date!=dates[i] && condect.time > 0) {
			if(isInMid && isMidPersent){
				   return {flag:true,str:"SMD\n"};
			}else if(!isInMid && isDownPersent){
				   return {flag:true,str:"SD\n"};
			}
	       	
		}
		  return {flag:false,str:"S5\n"};
	}